xen/arm: smmuv3: Import the SMMUv3 driver from Linux
authorRahul Singh <rahul.singh@arm.com>
Wed, 20 Jan 2021 14:52:35 +0000 (14:52 +0000)
committerJulien Grall <jgrall@amazon.com>
Sat, 23 Jan 2021 11:48:33 +0000 (11:48 +0000)
commit813b3fb5feb1043827862a4a4d5bff493295e342
treeaf861b6dd7756f74c21e5f1bdfe31426c569c7e5
parentcf6dbed22ac3c917fd5457014c66840addf2bf0f
xen/arm: smmuv3: Import the SMMUv3 driver from Linux

Based on tag Linux 5.8.18 commit ab435ce49bd1d02e33dfec24f76955dc1196970b

Directory structure change for the SMMUv3 driver starting from
Linux 5.9, to revert the patches smoothly using the "git revert" command
we decided to choose Linux 5.8.18.

Only difference between latest stable Linux 5.9.12 and Linux 5.8.18
SMMUv3 driver is the use of the "fallthrough" keyword. This patch will
be merged once "fallthrough" keyword implementation is available in XEN.

It's a copy of the Linux SMMUv3 driver. Xen specific code has not
been added yet and code has not been compiled.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/passthrough/arm/smmu-v3.c [new file with mode: 0644]